package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.GoodsObligation;
import com.stlm2.dems.dao.GoodsObligationDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

import java.util.List;

@Repository("goodsObligationDao")
public class GoodsObligationDaoImpl extends BaseDaoImpl<GoodsObligation> implements GoodsObligationDao {
    @Override
    public List<GoodsObligation> getByGoodsId(int goodsId) {
        return  selectList("getByGoodsId",goodsId);
    }
}